First set up a connection profile as explained in Section 10.1.1 or Section 10.1.2. Enter at least all parameters which are mandatory for the connection profile.
Configure the service profile 1 for FTP:
at^siss=1,address,"ftpput://myname:mypasswd@192.168.1.2/upload/example.bin;type=i" Specify FTP address with individual user name and password. The file "example.bin" shall be created on the FTP server.
The write command response confirms that 100 bytes must be transferred now. 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 URC indicates that the FTP service is ready to transfer more data. Data of the last AT^SISW command is transferred to the remote host. No more data available. The file "example.bin" shall be closed on the FTP server. Data transfer finished successfully. The connection to the FTP server is closed.
|